solution of partial differential equations by direct integration